package com.test.beans;

import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
public class UserBean {

    private int uid;
    private String name;
    private int age;
    private String address;
    private long birthday;

    public static UserBean of(int uid, String name, int age, String address, long birthday) {
        return new UserBean(uid, name, age, address, birthday);
    }
}
